package Day5Zuoye;

public class TeacherTest {
    public static void main(String[] args) {
        TeacherJava teacherJava=new TeacherJava("老刘",99,99,"男");
        teacherJava.selfIntroduce();
        teacherJava.giveLession();
        teacherJava.show();
        System.out.println("--------------");
        TeacherUI teacherUI=new TeacherUI("老牛",88,88,"男");
        teacherUI.selfIntroduce();
        teacherUI.giveLession();
        teacherUI.show();
        System.out.println("--------------");
        TeacherNet teachernet=new TeacherNet("老李",77,77,"女");
        teachernet.selfIntroduce();
        teachernet.giveLession();
        teachernet.show();
    }
}
